package com.wuyoucar.mapper;

import com.wuyoucar.entity.TSafetype;
import com.wuyoucar.entity.TSafetypeitem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface TSafetypeMapper {
    //查询所有险种信息
    List<TSafetype>  getAllTSafetype();

    //查询具体险种信息
    List<TSafetypeitem> getAllTSafetypeitem();

    //根据id查询
    TSafetype getAllTSafetypeByid(Integer safetypeid);

}
